input,
button {
  outline: none;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei",
    "WenQuanYi Micro Hei", sans-serif;

  background-image: url("../login-bg2.jpg");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
}

.login {
  width: 320px;
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);

  /* margin: 8% 25% 0 75%;
  transform: translate(-50%, 0%); */

  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
  /* background: rgba(0, 0, 0, .8); */
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}

.login .check {
  text-align: left;
  margin: 10px 0px;
}
.login .check label {
  float: left;
  height: 33px;
  padding-left: 7px;
}
.login .check p {
  float: right;
  height: 33px;
  line-height: 33px;
  margin: 0;
  padding: 0 20px 0 0;
}
/* 因为browser默认将input元素设置为inline-block，  */
/* 所以这里label设置为block，以达到换行的效果 */
/* 
.login label {
  display: block;
  text-align: left;
  margin: 10px 0px;
} */

.login > img {
  width: 50px;
}

.login h2 {
  color: #1c8adb;
  margin-top: 10px;
  margin-bottom: 14px;
}

.input-box {
  width: 90%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #999;
}

button {
  color: white;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 20px;
  font-size: 15px;
  border: none;
}

.input-btn {
  background-color: #1c8adb;
}
